home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Fritz: All Fritz
/
All Fritz.zip
/
All Fritz
/
FILES
/
UTILENUS
/
HYPAD1.LZH
/
INSTALL.BAT
< prev
next >
Wrap
DOS Batch File
|
1991-05-24
|
683b
|
34 lines
@echo off
set srcdrv=A
set tgtdrv=C
set tgtdir=\HYPERPAD
if "%3" == "" goto x3
set srcdrv=%1
set tgtsrv=%2
set tgtdir=%3
goto x4
:x3
if "%2" == "" goto x2
set srcdrv=%1
set tgtsrv=%2
goto x4
:x2
if "%1" == "" goto x4
set tgtdrv=%1
:x4
echo ......... About to install HyperPAD from %srcdrv%: to %tgtdrv%:%tgtdir%
echo .........
echo ......... If this is not correct, press CTRL-BREAK now and use:
echo .........
echo ......... INSTALL [source drive] [target drive] [target dir]
echo .........
echo ......... Example: INSTALL B D \APPS\HYPERPAD
echo .........
pause
%tgtdrv%:
md hyperpad >nul
cd hyperpad
copy %srcdrv%:hpinst2.bat
hpinst2